package com.lanxiao.cloud.modules.dict.domain.service;

import com.lanxiao.cloud.common.mybatis.service.BaseService;
import com.lanxiao.cloud.modules.dict.domain.model.DictType;

/**
 * @author ：qiaoliang
 * @date ：2021-09-26
 */
public interface IDictTypeService extends BaseService<Long, DictType> {


  void saveDictType(DictType dictType);

  void updateDictType(DictType dictType);

  void delete(Long id);

  /**
   *  校验字典类型是否存在
   *
   * @author ：qiaoliang
   * @param type : 字典类型
   * @return boolean
   * @date 2021-09-26 17:14
   */
  boolean checkDictType(String type);

}
